home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
By Popular Request 2.0
/
By Popular Request 2.0 (Arsenal Computer).ISO
/
amiga_1
/
arpcl371.lha
/
{ReadMe!}
next >
Wrap
Text File
|
1993-08-12
|
2KB
|
94 lines
TABLE OF CONTENTS
--background--
BaseName
TackOn
--background-- --background--
PURPOSE
To provide AmigaDOS equivalents of some ancient ARP commands that,
to the best of my knowledge, never has been ported to dos.library.
Every efford has been made to make these commands 100% compatible
with the corresponding ARP commands.
As of this distribution the set is limited to the BaseName and
TackOn commands, but I might consider implementing others (e.g.
Read) if enough interest is there.
NOTES
The commands supplied herein where written in assembly, using the
DAS assembler from DICE (my other assemblers had a bug in the EXG
instruction :-(). They are, of course, fully re-entrant and can be
made resident.
At least v37 of dos.library is required.
BaseName & TackOn are Copyright ⌐ 1993 Magnetic Ink, but freely
redistributable for electronic distribution or otherwise.
AUTHOR
Please send suggestions and/or bug reports to:
Klaus Seistrup, 2:230/119@fidonet
E-mail: kleis@mink.adsp.sub.org
BaseName BaseName
NAME
BaseName -- Return basename of pathname (V37.1)
SYNOPSIS
PATH/A,SUFFIX
FUNCTION
The basename of a pathname is its last component. E.g., the
basename of `DH1:FooBar.fly' is `FooBar.fly'.
If suffix is given, and it corresponds with the extension of the
pathname, the suffix will be deleted. E.g.:
BaseName DH1:FooBar.fly .fly
will output `FooBar'.
INPUTS
PathName - A valid pathname
Suffix - Optional extension to be deleted
BUGS
None known.
SEE ALSO
ARP/BaseName, dos.library/FilePart(), TackOn
TackOn TackOn
NAME
TackOn -- Correctly add a filename to an existing pathname (V37.1)
SYNOPSIS
PATH/A,FILE/A
FUNCTION
This program correctly tacks a filename onto an existing pathname,
inserting the appropriate separator character (':' or '/').
INPUTS
PathName - Pathname to be augmented.
FileName - Filename to augment pathname with.
BUGS
None known
SEE ALSO
ARP/TackOn, dos.library/AddPart(), BaseName